const CONST = {};

CONST.SESSION_USER = 'session-user';
CONST.SESSION_ROLES = 'session-roles';
CONST.SESSION_FUNCS = 'session-funcs';
CONST.SESSION_APIS = 'session-apis';

CONST.PROMOTER_MENU = [{
    name: '邀请码',
    icon: 'barcode',
    path: 'code',
    children: [
        {
            name: '我的邀请码',
            path: 'myCode',
        }, {
            name: '邀请码收益',
            path: 'codeEarnings',
        },
    ],
}, {
    name: '异常页',
    icon: 'warning',
    path: 'exception',
    hideInMenu: true,
    children: [
        {
            name: '403',
            path: '403',
        },
        {
            name: '404',
            path: '404',
        },
        {
            name: '500',
            path: '500',
        },
        {
            name: '触发异常',
            path: 'trigger',
        },
    ],
},
    {
        name: '账户',
        icon: 'user',
        path: 'user',
        authority: 'guest',
        children: [
            {
                name: '登录',
                path: 'login',
            },
        ],
    }];


CONST.COMPANY_MENU = [{
    name: '网红公司管理',
    icon: 'team',
    path: 'company',
    children: [
        {
            name: '活动概况',
            path: 'companyIndex',
        }, {
            name:'成员一览',
            path:'companyPeople'
        }
    ],
}, {
    name: '异常页',
    icon: 'warning',
    path: 'exception',
    hideInMenu: true,
    children: [
        {
            name: '403',
            path: '403',
        },
        {
            name: '404',
            path: '404',
        },
        {
            name: '500',
            path: '500',
        },
        {
            name: '触发异常',
            path: 'trigger',
        },
    ],
},
    {
        name: '账户',
        icon: 'user',
        path: 'user',
        authority: 'guest',
        children: [
            {
                name: '登录',
                path: 'login',
            },
        ],
    }];



CONST.EXCEPTION_MENU = [{
    name: '异常',
    icon: 'warning',
    path: 'exception',
    children: [
        {
            name: '404',
            path: '404',
        }
    ],
}, {
    name: '异常页',
    icon: 'warning',
    path: 'exception',
    hideInMenu: true,
    children: [
        {
            name: '403',
            path: '403',
        },
        {
            name: '404',
            path: '404',
        },
        {
            name: '500',
            path: '500',
        },
        {
            name: '触发异常',
            path: 'trigger',
        },
    ],
},
    {
        name: '账户',
        icon: 'user',
        path: 'user',
        authority: 'guest',
        children: [
            {
                name: '登录',
                path: 'login',
            },
        ],
    }];


module.exports = CONST;